<header>
    <nav ng-controller="nav" class="navbar navbar-inverse">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">安小漠</a>
            </div>
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav navbar-right">
                    <li ng-repeat="nav in navList" ng-class="{active:classActive(nav.name)}">
                        <a ng-href="[[nav.href]]"
                           ng-click="showClassify(nav.name)">
                            [[nav.name]]
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</header>
